package cc.admin.common.db.table.entity;

import lombok.Data;
/**
 * 查询元数据所需sql
 * @author: ZhangHouYing
 * @date: 2018-06-24
 */
@Data
public class MetaSql {
	/**
	 * table_name
	 */
	private String tableSql;
	/**
	 * table_name ,comments
	 */
	private String tableCommentSql;
	/**
	 * table_name,column_name,data_type,data_length,data_scale,nullable
	 */
	private String columnSql;
	/**
	 * table_name,column_name,comments
	 */
	private String columnCommentSql;
	/**
	 *table_name,column_name
	 */
	private String pkSql;

	public MetaSql() {

	}
	public MetaSql(String tableSql,String tableCommentSql,String columnSql,String columnCommentSql,String pkSql) {
		this.tableSql = tableSql;
		this.tableCommentSql = tableCommentSql;
		this.columnSql = columnSql;
		this.columnCommentSql = columnCommentSql;
		this.pkSql = pkSql;
	}
}
